package com.example.shiro.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

/**
 * @author lijilong
 * @version 1.0
 * @Description:
 * @CreateDate 2018/8/7 13:45
 */
@Data
public class User implements Serializable {
    private static final long serialVersionUID = 1L;
    private int uid;
    private String username;
    private String password;
    private String passwordSalt;
    private Set<Role> roles = new HashSet<>();
}
